const otop2r = document.querySelector(".top2r")
const ologin = document.querySelector(".login")
otop2r.onmousemove = function () {
    ologin.style.display = "flex"
}
otop2r.onmouseout = function () {
    ologin.style.display = "none"
}
const oinput = document.querySelector(".top2m .search .in1")
oinput.onfocus = function () {
    if (oinput.value !== "") {
        return
    } else {
        oinput.value = ""
    }
}
oinput.onblur = function () {
    if (oinput.value === "") {
        oinput.value = "年末心意"
    } else {
        return
    }
}


function pushInput(){
    window.location.href="./spssy.html"
}

$('.louceng1').click(function () {
    $("html").animate({
        scrollTop:0
    })
})
const userMsg=localStorage.getItem("userMsg")?JSON.parse(localStorage.getItem("userMsg")):[]
if(userMsg.state==="OK"){
    $(".LOGIN").html(userMsg.phone)
    $(".REGISTER").html("退出")
}

   